//
//  AWAccountView.m
//  awu
//
//  Created by kenta.yao on 15/8/28.
//  Copyright (c) 2015年 centling. All rights reserved.
//

#import "AWAccountView.h"


@interface AWAccountView ()


@property (weak, nonatomic) IBOutlet UILabel *priceLabel;
@property (weak, nonatomic) IBOutlet UILabel *isVipLabel;
@property (weak, nonatomic) IBOutlet UIButton *becomeVIp;
@property (weak, nonatomic) IBOutlet UILabel *vipPriceLabel;

@end

@implementation AWAccountView

+ (instancetype)accountView
{
    return [[[NSBundle mainBundle] loadNibNamed:@"AWAccountView" owner:nil options:nil] lastObject];
}

- (void)awakeFromNib
{
    self.frame = CGRectMake(0, 0, 100, 200 * 0.5) ;
}



- (IBAction)clickCloseBtn:(id)sender {
    
    if ([self.delegate respondsToSelector:@selector(clickCloseBtn)]) {
        [self.delegate clickCloseBtn];
    }
    
}
- (IBAction)clickBecomeVipBtn:(id)sender {
    if ([self.delegate respondsToSelector:@selector(clickBecomeVipBtn)]) {
        [self.delegate clickBecomeVipBtn];
    }
}

- (IBAction)clickBuyBtn:(id)sender {
    if ([self.delegate respondsToSelector:@selector(clickBuyBtn)]) {
        [self.delegate clickBuyBtn];
    }
}

@end
